#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
// #include "mapwidget.h"
#include "mysqlop.h"
#include "mapinfo.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    // MapWidget tmp;
    MysqlOp   mysqlOP;
    mapInfo map;

    void saveScreenshot();
    void vison_ros_status();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

    void on_pushButton_15_clicked();

    void on_pushButton_12_clicked();

    void on_pushButton_5_clicked();

    void on_pushButton_10_clicked();

    void on_pushButton_11_clicked();

    void on_pushButton_14_clicked();

    void on_pushButton_7_clicked();

    void on_pushButton_13_clicked();

    void on_pushButton_6_clicked();

    void on_pushButton_16_clicked();

private:
    Ui::MainWindow *ui;
public slots:
    void mySlot(); // 声明一个槽函数
    void SlotSavePic(); // 声明一个槽函数
};
#endif // MAINWINDOW_H
